package br.com.infoanalise.jsf.pety.repository;

import javax.inject.Inject;
import javax.inject.Named;
import javax.persistence.EntityManagerFactory;

import br.com.infoanalise.arq.negocio.repository.impl.AbstractJpaRepository;
import br.com.infoanalise.pety.domain.Jogador;

@Named
public class JogadorRepository extends AbstractJpaRepository<Jogador> {

	@Override
	public Class<Jogador> getEntityClass() {
		return Jogador.class;
	}
	
	@Inject
	public void configureEntityManagerFactory(EntityManagerFactory emf) {
		this.setEntityManagerFactory(emf);
	}
	
	public JogadorRepository() {
		
	}

}
